package com.markerhub.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.markerhub.entity.SysGoods;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author jsx on 2023/2/13
 **/
@Repository
public interface SysGoodsMapper extends BaseMapper<SysGoods> {

    SysGoods selectSysGoods(@Param("id") String id);


    Page<SysGoods> selectGoodsList(@Param("page") Page page,@Param("name") String name ,@Param("shopName") String shopName);

    List<SysGoods> selectGoodsListByStatus(@Param("status") String status,@Param("name") String name , @Param("userId") String userId,@Param("reject") String reject);
}
